package com.lee.auth.endpoint.verifier;

/**
 * @author Lee HN
 * @date 2019/11/28 17:29
 */
public interface ThirdVerifier {

    int QQ = 1, WeChat = 2, Weibo = 3;

    /**
     * @param openId
     * @param token
     * @return
     */
    boolean verify(String openId, String token);

    /**
     * @return
     */
    int getProvider();

}
